home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / src / xpow.h < prev   
C/C++ Source or Header  |  1996-04-25  |  2KB  |  72 lines

  1. /*
  2.  
  3. Copyright (C) 1996 John W. Eaton
  4.  
  5. This file is part of Octave.
  6.  
  7. Octave is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. Octave is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Octave; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. */
  22.  
  23. #if !defined (octave_xpow_h)
  24. #define octave_xpow_h 1
  25.  
  26. #include "oct-cmplx.h"
  27.  
  28. class Matrix;
  29. class ComplexMatrix;
  30. class octave_value;
  31.  
  32. extern octave_value xpow (double a, double b);
  33. extern octave_value xpow (double a, const Matrix& b);
  34. extern octave_value xpow (double a, const Complex& b);
  35. extern octave_value xpow (double a, const ComplexMatrix& b);
  36.  
  37. extern octave_value xpow (const Matrix& a, double b);
  38. extern octave_value xpow (const Matrix& a, const Complex& b);
  39.  
  40. extern octave_value xpow (const Complex& a, double b);
  41. extern octave_value xpow (const Complex& a, const Matrix& b);
  42. extern octave_value xpow (const Complex& a, const Complex& b);
  43. extern octave_value xpow (const Complex& a, const ComplexMatrix& b);
  44.  
  45. extern octave_value xpow (const ComplexMatrix& a, double b);
  46. extern octave_value xpow (const ComplexMatrix& a, const Complex& b);
  47.  
  48. extern octave_value elem_xpow (double a, const Matrix& b);
  49. extern octave_value elem_xpow (double a, const ComplexMatrix& b);
  50.  
  51. extern octave_value elem_xpow (const Matrix& a, double b);
  52. extern octave_value elem_xpow (const Matrix& a, const Matrix& b);
  53. extern octave_value elem_xpow (const Matrix& a, const Complex& b);
  54. extern octave_value elem_xpow (const Matrix& a, const ComplexMatrix& b);
  55.  
  56. extern octave_value elem_xpow (const Complex& a, const Matrix& b);
  57. extern octave_value elem_xpow (const Complex& a, const ComplexMatrix& b);
  58.  
  59. extern octave_value elem_xpow (const ComplexMatrix& a, double b);
  60. extern octave_value elem_xpow (const ComplexMatrix& a, const Matrix& b);
  61. extern octave_value elem_xpow (const ComplexMatrix& a, const Complex& b);
  62. extern octave_value elem_xpow (const ComplexMatrix& a,
  63.                 const ComplexMatrix& b);
  64.  
  65. #endif
  66.  
  67. /*
  68. ;;; Local Variables: ***
  69. ;;; mode: C++ ***
  70. ;;; End: ***
  71. */
  72.